import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
Vue.config.productionTip = false

//全局elementUI
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

//全局axios
// import axios from 'axios'
// Vue.prototype.$axios = axios

import Icon from '@/components/Icon.vue'
Vue.component('Icon',Icon);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
